package com.personal.exception;

import com.personal.enums.Code;
import com.personal.utils.Result;

/**
 * 异常处理工具类
 */
public class ExceptionUtils {

    public static void error(Code code) {
        throw new ItMallException(new Result(code));
    }

}
